POV-Ray : Newsgroups : povray.newusers : Conversion to POV-ray from Rhinolator(For Rhinoceros) Script : Conversion to POV-ray from Rhinolator(For Rhinoceros) Script Server Time
5 Nov 2024 09:25:46 EST (-0500)
  Conversion to POV-ray from Rhinolator(For Rhinoceros) Script  
From: J  Kim
Date: 7 Mar 2000 05:53:53
Message: <38C4DFDF.B766E0EE@mm.ewha.ac.kr>
Dear all,
 I am quite new both to Rhino and POV-ray.
 I'd like to see if I could convert Rhinolator (for Rhinoceros) script
programs into the
POV-ray program, which generates an interpolated curve similar to a
greek letter, ohmega.
From this line, I generate sweep_1_rail which has circular cross-section

  ( Is this some sort of spline function in POV?).
I wish I could use a sphere for the sweeping instead of the circle.
However, this is the only method I know for the Rhinoceros programming.
   One of the reason for trying to convert them is that the size of the
final 'smoothed_triangle' data are
quite big(somewhere around 50Mbyte when I duplicated the original
ohmega-like lines) and time-consuming.
  The other reason is that I would like to use either the
sphere-sweeping_Catmull_Rom_Spline function of the Superpatch or the
Blob function following the interpolated curve.
From this I would like to make a semi-transparent solid wavy object.
I am attaching some part of my Rhinolator script, which describes the
curve part by part.

  Thanks in advance,

Jong
-------------------
//Part 1
count=0
  InterpCrv
   for (x=-6;x<-1)
   {
               x=-6+count/15
               y=-10.39-rt(25-(x+6)^2)
               z=0
        w$x,$y,$z
count=count+1
   }
//Part2
countT=0
  InterpCrv
   for(y=-8.85;y<-1.48)
    {
                y=-8.85+countT/15
                x=y*(-0.4973)-5.584
                z=rt(4.2^2-(y+5.196)^2)-2
          w$x,$y,$z
countT=countT+1
   }
enter
//
end

-----------------------------


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.